#include <catch2/catch.hpp>

#include "059_medium.hpp"

using namespace jianzhi_059;

TEST_CASE("059", "[JIANZHI][059]")
{

SECTION("059-I") {
    CHECK(Solution().maxSlidingWindow({1,3,-1,-3,5,3,6,7}, 1) == std::vector{1,3,-1,-3,5,3,6,7});
    CHECK(Solution().maxSlidingWindow({1,3,-1,-3,5,3,6,7}, 3) == std::vector{3,3,5,5,6,7});
}

}
